package com.raisecom.simplefactory;

public class Creator {
	
	public static Product createProduct(String str) {
		if ("A".equals(str)) {
			return new ConcreateProductA();
		} else if ("B".equals(str)) {
			return new ConcreateProductB();
		}
		
		return null;
	}

}
